<div class='clearfix'>
	<?php foreach(array('error', 'notice', 'success') as $key):
		if (Yii::app()->user->hasFlash($key)):
			echo CHtml::tag('div',array('class'=>"flash-$key mbs"), Yii::app()->user->getFlash($key));
		endif;
	endforeach; ?>
</div>